package com.bootdo.member.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 积分兑换记录
 * 
 * @author lujingqian
 * @email 2100272728@qq.com
 * @date 2019-11-08 17:24:00
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class ShequIntegralRecord extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//业主id
		@HapiFeild("业主id")
	private Long memberId;
	
	//业主名称
		@HapiFeild("业主名称")
	private String memberName;
	
	//业主电话
		@HapiFeild("业主电话")
	private String memberMobile;
	
	//积分
		@HapiFeild("积分")
	private Double integrals;
	
	//社区id
		@HapiFeild("社区id")
	private Long communityId;
	
	//社区名称
		@HapiFeild("社区名称")
	private String communityName;
	
	//备注
		@HapiFeild("备注")
	private String remarks;
	
	//兑换时间
		@HapiFeild("兑换时间")
	private Date createTime;
	
	//状态
		@HapiFeild("状态")
	private Integer state;
	//算数类型
		@HapiFeild("算数类型")
	private Integer countType;

    //状态
		@HapiFeild("操作类型 1为物业扣除  其他不管")
	private Integer operationType;

    public ShequIntegralRecord(){
    
    	this.createTime = new Date();
    	this.operationType=0;
    	this.countType=0;
    }

	public Integer getCountType() {
		return countType;
	}

	public void setCountType(Integer countType) {
		this.countType = countType;
	}

	public Integer getOperationType() {
		return operationType;
	}

	public void setOperationType(Integer operationType) {
		this.operationType = operationType;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：业主id
	 */
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	/**
	 * 获取：业主id
	 */
	public Long getMemberId() {
		return memberId;
	}
	/**
	 * 设置：业主名称
	 */
	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}
	/**
	 * 获取：业主名称
	 */
	public String getMemberName() {
		return memberName;
	}
	/**
	 * 设置：业主电话
	 */
	public void setMemberMobile(String memberMobile) {
		this.memberMobile = memberMobile;
	}
	/**
	 * 获取：业主电话
	 */
	public String getMemberMobile() {
		return memberMobile;
	}
	/**
	 * 设置：积分
	 */
	public void setIntegrals(Double integrals) {
		this.integrals = integrals;
	}
	/**
	 * 获取：积分
	 */
	public Double getIntegrals() {
		return integrals;
	}
	/**
	 * 设置：社区id
	 */
	public void setCommunityId(Long communityId) {
		this.communityId = communityId;
	}
	/**
	 * 获取：社区id
	 */
	public Long getCommunityId() {
		return communityId;
	}
	/**
	 * 设置：社区名称
	 */
	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}
	/**
	 * 获取：社区名称
	 */
	public String getCommunityName() {
		return communityName;
	}
	/**
	 * 设置：备注
	 */
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	/**
	 * 获取：备注
	 */
	public String getRemarks() {
		return remarks;
	}
	/**
	 * 设置：兑换时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：兑换时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：状态
	 */
	public void setState(Integer state) {
		this.state = state;
	}
	/**
	 * 获取：状态
	 */
	public Integer getState() {
		return state;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
